/**
 * Created by ancheel on 2017/5/21.
 */
'use strict';

import callApi from '../utils/callApi2'
import apiPath from '../configs/apiPath'

export async function query() {
  return callApi(apiPath.allApps)
}

export async function update(data) {
  return callApi(apiPath.userApps, {apps: data}, 'PUT')
}